Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODFrame


Validate

The Validate method marks the specified area in this frame as no longer in need of updating.

void Validate (in ODShape validShape, 
               in ODCanvas biasCanvas);
validShape
A reference to the shape object defining the area in this frame that no longer needs updating, expressed in frame coordinates.
biasCanvas
kODNULL if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.
DISCUSSION
Your part calls this method to explicitly mark portions of its display frame that do not need updating. This method in turn calls the Validate method associated with each of this frame's facets. The Validate method transforms and clips the shape from the coordinate space of the facet to the coordinate space of its canvas and subtracts the shape from any existing invalid area of the canvas.

SEE ALSO
The ODCanvas::Validate method (page 81).
The ODFacet::Validate method (page 257).
The ODFrame::Invalidate method (page 325).
"Invalidating and Validating Your Content" on page 160 in OpenDoc Programmer's Guide.
"Drawing to an Offscreen Canvas" on page 168 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help